package com.aim.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author AIM
 * @Des 首页控制器
 * @DATE 2018/1/30
 */
@Controller
public class IndexController {

    /**
     * @Author AIM
     * @Des 首页
     * @DATE 2018/1/30
     */
    @RequestMapping(value = {"/", "/index"})
    public String index() {
        return "index";
    }

    /**
     * @Des 首页
     */
    @RequestMapping("/login")
    public String adminIndex() {
        return "login";
    }
}
